package info.nixbear.tgcms.services.dao;

import java.util.List;

public interface EntityDao<T> {
	
	public List<T> listAll();

	public T get(Long id) throws DaoException;
	
	public T get(String key);
	
	public T put(T entity) throws DaoException;

	public void delete(T entity);

}
